package com.example.jacky.android_easeui.netapi;


import com.example.jacky.android_easeui.netapi.retrofit.ServiceFactory;

/**
 * Created by ljr on 2016/3/24.
 * 调用网络接口
 */
public class APIRequest {

    /*    // 根据邀请码请求api拿到奖励
    public static void getRewardByInviteCode(SendInvitation sendInvitation, Callback callBack) {
        ServiceFactory.getRetrofitService().getRewardByInviteCode(GlobalParameter.loginedToken, sendInvitation).enqueue(callBack);
    }*/

    public static void getModel() {
        ServiceFactory.getRetrofitService().getModel().compose(RxUtil.normalSchedulers())
                .subscribe();
    }


}
